
public class Immortal extends Being{

	Immortal(String t, String n){
		title = t;
		name = n;
	}

	public void enter(){
		System.out.println(this+" enters");
	}

	public void eat(){
		if(title == "God")
			System.out.println("Delicious!");
		else
			System.out.println("Ugh, this could be better.");
	}

	public void move(String dest, String dir){
		System.out.println(this+" "+dir+" to "+dest+".");
	}

	public void bless(Mortal m){
		System.out.println("I, "+this+", bestow my blessings on "+m+".");
	}

	public void curse(Mortal m){
		if(name == "Zeus")
			System.out.println("I, "+this+" smite "+m+" with my lightning bolts!");
		else
			System.out.println("I, "+this+" send curses down on "+m+".");
	}
	
	public String toString(){
		return title + " " + name;
	}
}
